Vue.component('base-layout', {
  template: `
    <div>
      <slot name="header"></slot>
      <slot name="body" content="balabala..."></slot>
      <slot name="footer"></slot>
      <slot
        name="default"
        :nums="nums"
        :bool="true"
      ></slot>
    </div>
  `,

  data() {
    return {
      nums: {
        x: 100,
        y: 200
      }
    }
  }
})